import {createRouter,createWebHistory} from "vue-router";
import Login from '@/views/Login.vue';
import Layout from '@/views/Layout.vue';

const routes = [
    {
        path:'/',
        component:Layout
    },{
        path:'/login',
        component:Login
    }
];
const router = createRouter({
    history:createWebHistory(import.meta.env.BASE_URL),
    routes
})
export default router;
